package com.ad2campaign.engine.db.model;

import java.io.Serializable;

public class NotificationMessage implements Serializable {
	
	private static final long serialVersionUID = -3777209481897757046L;
	
	private String tableName;
	
	
	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	private int id;//unique id of table
	private int bId;//brand Id
	private int cId;//campaign Id
	private int nId;//notification Id
	private String tokenId;//user broadcast id
	private int status;//push status
	private String response;
	private int delivered;// 1 means delivered, 0 means failed
	
	public String getResponse() {
		return response;
	}
	public void setResponse(String response) {
		this.response = response;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getbId() {
		return bId;
	}
	public void setbId(int bId) {
		this.bId = bId;
	}
	public int getcId() {
		return cId;
	}
	public void setcId(int cId) {
		this.cId = cId;
	}
	public int getnId() {
		return nId;
	}
	public void setnId(int nId) {
		this.nId = nId;
	}
	public String getTokenId() {
		return tokenId;
	}
	public void setTokenId(String broadcastid) {
		this.tokenId = broadcastid;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	
	public int getDelivered() {
		return delivered;
	}
	public void setDelivered(int delivered) {
		this.delivered = delivered;
	}
	public String toString(){
		
		return "id="+this.id+", bId="+this.bId+", cId="+this.cId+", nId="+this.nId+", broadcasrid="+this.tokenId+",status="+this.status;
	}
	
}
